//
//  DataHandle.m
//  UI22_线程
//
//  Created by dllo on 15/12/9.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "DataHandle.h"

@implementation DataHandle

+ (instancetype)shareData
{
    static DataHandle *dataH = nil;
//    if (dataH == nil) {
//        dataH = [[DataHandle alloc] init];
//    }
    
    static dispatch_once_t once;
    dispatch_once(&once, ^{
        
        dataH = [[DataHandle alloc] init];
        
    });
    
    return dataH;
}

@end
